package thinkinjava4.ch19_enumrated;

import thinkinjava4.util.Enums;

enum Activity {SITTING, LYTING, STANDING, HOPPING, RUNNING, DODGING, JUMPING, FALLING, FLYING}

public class RandomTest {
    public static void main(String[] args) {
        for (int i = 0; i < 20; i++)
            System.out.print(Enums.random(Activity.class) + " ");
    }
}
